package com.funkyfurrymonkey.load ;


import openfl.display.Bitmap;

/**
 * ...
 * @author Marcos Martinez
 */
class AssetsRepository
{
	private var m_aImage:Map<String,Bitmap>;
	private var m_aXml:Array<Xml>;
	//private var m_aButton:Array<Button>;
	public function new() 
	{
		m_aImage = new Map<String, Bitmap>();
	}
	
	public function addImage(sName:String, bmd:Bitmap):Void
	{
		m_aImage.set(sName,bmd);
	}
	
	public function getImage(sName:String):Bitmap
	{
		return m_aImage.get(sName);
	}
	
}